package pers.chao.tool.infrastructure.kv;

/**
 * Description: 指定类型通用键值对
 *
 * @author W.Chao
 * @date 2021/2/19 20:00
 **/
public class TypeTuple<K,V> {
	private K key;
	private V value;

	public TypeTuple() {
	}

	public TypeTuple(K key, V value) {
		this.key = key;
		this.value = value;
	}

	public K getKey() {
		return key;
	}

	public TypeTuple setKey(K key) {
		this.key = key;
		return this;
	}

	public V getValue() {
		return value;
	}

	public TypeTuple setValue(V value) {
		this.value = value;
		return this;
	}
}
